<?php
class Route{
	private $route;
	private $xtime;
	private $ytime;
	private $type;
	private $price;
	
	public function __construct($route,$xtime,$ytime,$type){
		$this->route = $route;
		$this->xtime = $xtime;
		$this->ytime = $ytime;
		$this->type = $type;
	}
	public function __get($data){
		return $this->$data;
	}
	public function __set($data,$value){
		$this->$data = $value;
	}
}
?>